<?php /* Smarty version 2.6.18, created on 2010-03-08 09:58:02
         compiled from inquiries_co_table.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'inquiries_co_table.tpl', 17, false),array('modifier', 'number_format', 'inquiries_co_table.tpl', 28, false),)), $this); ?>
<hr>
<table border="0" width="100%">
	<tr bgcolor="#cccccc">
		<td><label><b>PO ID</b></label></td>
		<td><label><b>Supplier Name</b></label></td>
		<td><label><b>PO Code</b></label></td>
		<td><label><b>Commission</b></label></td>
		<td><label><b>PO Date</b></label></td>
		<td><label><b>Moid</b></label></td>
		<td><label><b>Organism Name</b></label></td>
		<td><label><b>Order Quantity</b></td>
		<td><label><b>Total Quantity</b></label></td>
		<td><label><b>Size</b></label></td>
		<td><label><b>Order Amount</b></label></td>
	</tr>
	<?php $_from = $this->_tpl_vars['results']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['result']):
?>
	<tr class="<?php echo smarty_function_cycle(array('values' => "blue,notify"), $this);?>
">
		<td><?php echo $this->_tpl_vars['result']['po_id']; ?>
</td>
		<td><?php echo $this->_tpl_vars['result']['trading_name']; ?>
</td>
		<td><?php echo $this->_tpl_vars['result']['po_code']; ?>
</td>
		<td><?php echo $this->_tpl_vars['result']['commission']; ?>
</td>
		<td><?php echo $this->_tpl_vars['result']['date_order']; ?>
</td>
		<td><?php echo $this->_tpl_vars['result']['moid']; ?>
</td>
		<td><?php echo $this->_tpl_vars['result']['name']; ?>
</td>
		<td><?php echo $this->_tpl_vars['result']['order_quantity']; ?>
</td>
		<td><?php echo $this->_tpl_vars['result']['total_quantity']; ?>
</td>
		<td><?php echo $this->_tpl_vars['result']['size']; ?>
</td>
		<td><?php echo ((is_array($_tmp=$this->_tpl_vars['result']['order_amount'])) ? $this->_run_mod_handler('number_format', true, $_tmp, '2%d') : number_format($_tmp, '2%d')); ?>
</td>
	</tr>
	<?php endforeach; endif; unset($_from); ?>
</table>
<hr>